package com.ovo.dailypayaccount.dao;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import com.ovo.dailypayaccount.entity.PayData;

public interface PayDataDao {
    int deleteByPrimaryKey(Integer id);

    int insert(PayData record);

    int insertSelective(PayData record);

    PayData selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PayData record);

    int updateByPrimaryKey(PayData record);
    
    List<PayData> getDataOfWeek(Map<String,String> params);
    
    BigDecimal getSumPayDataOfWeek(Map<String,String> params);
    
    BigDecimal getSumPayDataOfMonth(Map<String,String> params);
    
    List<PayData> getDataOfDate(Map<String,String> params);
    
    BigDecimal getSumPayDataOfDate(Map<String,String> params);
}